package com.git.service;

import com.git.bean.District;
import com.git.bean.House;
import com.git.bean.SearchInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author 金振宇
 * @describe
 */
public interface HouseService {
    PageInfo<House> findAllHouse(Integer pageNum, SearchInfo searchInfo);

    House findHouseById(Integer id);

    List<District> findAllDistrict();


    void updateHouse(House house);

    void addHouse(House house);
}
